package com.jiyun.service;

import com.jiyun.entity.day02.LessonnDto;
import com.jiyun.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "day09-liuobaoshan-lessonn")
public interface FeginService {

    @GetMapping("/lessonn/findAllNum")
    public R findAllNum();

    @GetMapping("lessonn/finless")
    public R finless();

    @GetMapping("lessonn/findAllNum4")
    public R findAllNum4();

    @GetMapping("lessonn/findAllLessonn")
    public R findAllLessonn( LessonnDto lessonnDto);

}
